<div class="card-block dt-responsive">

    <div class="table-responsive">
        <div id="dom-jqry_wrapper" class="dataTables_wrapper dt-bootstrap4">

            <table class="table table-striped table-bordered table-hover">
                <thead>
                <tr>
                    <g:sortableColumn property="opportunity" title="商机"/>
                    <g:sortableColumn property="contract" title="合同"/>
                    <g:sortableColumn property="createdDate" title="创建时间"/>
                    <g:sortableColumn property="modifiedDate" title="修改时间"/>

                </tr>
                </thead>
                <tbody>
                <g:each in="${this.opportunityContractList}">
                    <tr>
                        <td>${it?.opportunity?.serialNumber}</td>
                        <td>${it?.contract?.serialNumber}</td>
                        <td><g:formatDate date="${it?.createdDate}"
                                          format="yyyy-MM-dd HH:mm:ss"></g:formatDate></td>
                        <td><g:formatDate date="${it?.modifiedDate}"
                                          format="yyyy-MM-dd HH:mm:ss"></g:formatDate></td>
                        
                    </tr>
                </g:each>
                </tbody>

            </table>
        </div>
    </div>

</div>
